package com.qd.pay.repository;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.cdqidi.db.BaseService;
import com.qd.pay.mapper.OrderReportNotifyLogMapper;
import com.qd.pay.model.OrderReportNotifyLog;
import org.springframework.stereotype.Repository;

/**
 * @author sjk
 */
@Repository
public class OrderReportNotifyLogRepository extends BaseService<OrderReportNotifyLogMapper, OrderReportNotifyLog> {

    public boolean isExists(String logId) {
        return getBaseMapper().exists(new QueryWrapper<OrderReportNotifyLog>().eq("logid", logId));
    }
}